package com.greateamd.timetableasy.client.services.event;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.greateamd.timetableasy.domain.Event;


public interface EventServiceAsync {

	void remove(Event event, AsyncCallback<Boolean> callback);
	void find(int id, AsyncCallback<Event> callback);
	void update(Event event, AsyncCallback<Boolean> callback);
	void save(Event event, AsyncCallback<Boolean> callback);
	void getAll(AsyncCallback<List<Event>> callback);
}
